package com.gmd.common.action;

import java.util.Map;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class LogoutUserAction extends ActionSupport {
	
	public LogoutUserAction(){
		
	}
	
	public String execute(){
		Map session = ActionContext.getContext().getSession();
		session.remove("usuario");
		session.clear();
		return SUCCESS;
	}
}
